<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Minesweeper</title>
    <style>
        #mainDiv{
            width:200px;
            margin: 0 auto;
            border: 10px solid #C0C0C0;
        }
        #statusBar{
            height: 100px;
            border-bottom: 10px solid #c0c0c0;
        }
        #timer{float: left}
        #btn{
            width: 80px;
            height: 80px;
            margin: 0 auto;
            background-color: yellow;
        }
        #mines{float: right}
    </style>
</head>
<body>
<div id="mainDiv">

    <div id="statusBar">
        <div id="timer"><span id="timer_span">000</span></div>
        <div id="mines"><span>009</span></div>
        <div id="btn" onclick="start()"></div>
    </div>
    <canvas id="myCanvas" width="200" height="200"></canvas>

</div>
<script src="minesweeper.js" type="text/javascript"></script>
</body>
</html>